package club.ljwang.service;

import club.ljwang.dao.VipDao;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Service(interfaceClass = VipService.class)
@Transactional
public class VipServiceImpl implements VipService {
    @Autowired
    private VipDao vipDao;
    @Override
    public List<Map> getGender() {

        return vipDao.getGender();
    }

    @Override
    public List<Map> getAge() {
        return vipDao.getAge();
    }
}
